package com.entity;

public class Address {
	private  int  aid;
	private  String name;
	private  String address;
	private  String  tel;
	private  Consumer consumer;
	
	
	public Address() {
		super();
	}
	
	public Address(int aid, String name, String address, String tel, Consumer consumer) {
		super();
		this.aid = aid;
		this.name = name;
		this.address = address;
		this.tel = tel;
		this.consumer = consumer;
	}

	public int getAid() {
		return aid;
	}
	public void setAid(int aid) {
		this.aid = aid;
	}
	public String getAddress() {
		return address;
	}
	public void setAddress(String address) {
		this.address = address;
	}
	public String getTel() {
		return tel;
	}
	public void setTel(String tel) {
		this.tel = tel;
	}
	
	public Consumer getConsumer() {
		return consumer;
	}
	public void setConsumer(Consumer consumer) {
		this.consumer = consumer;
	}
	
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}

	@Override
	public String toString() {
		return "Address [aid=" + aid + ", name=" + name + ", address=" + address + ", tel=" + tel + ", consumer="
				+ consumer + "]";
	}

	
	
}
